package com.haliyoo.adhs.service;

import com.haliyoo.adhs.common.ResultData;
import com.haliyoo.adhs.model.AdInfo;

public interface AdInfoService {
	
    public ResultData<AdInfo> findAll();

    public ResultData<AdInfo> post(AdInfo adInfo);

    public ResultData<String> delete(AdInfo adInfo);

    public ResultData<String> repost(Integer repostUserId,Integer adId);
    
    public ResultData<AdInfo> findById(Integer id);
}
